// 以前 token 令牌，如果存到了本地，每一次都写这么长，太麻烦
// localStorage.setItem(键， 值)
// localStorage.getItem(键)
// localStorage.removeItem(键)
const key = "my-token-mianjing-pc"
//存储
export const setToken = (value) => {
  localStorage.setItem(key, value)

}
//获得
export const getToken = (value) => {
  localStorage.getItem(key)

}
// 删除
export const removeItem = (value) => {
  localStorage.getItem(key)

}